package com.team.lostProperty.service;

import com.team.lostProperty.entity.Collect;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author duzq
 * @date 2020/7/25 19:13
 */
public interface CollectService {

    //获取收藏信息
    List<Collect> getCollectById(@Param("userId") long userId, @Param("start") int start);

    //获取收藏条数
    int getAllCount(long userId);

    //获取收藏信息
    List<Collect> getCollectByUser(long userId,int page,int limit);
}
